.PHONY:all
all:udpserver udpclient
udpclient:UdpClient.cpp
	g++ $^ -o $@ -std=c++14
udpserver:Main.cpp
	g++ $^ -o $@ -std=c++14 -lpthread
.PHONY:clean
clean:
	rm -f udpserver udpclient


# udpserver:Main.cpp
# 	g++ $^ -o $@ -std=c++14 -lpthread
# .PHONY:clean
# clean:
# 	rm -f udpserver udpclient